package com.song.demo11springboottask.service;


import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

@Service
public class ScheduledService {

    //[quartz/Cron/Crontab表达式在线生成工具-BeJSON.com](https://www.bejson.com/othertools/cron/)
    @Scheduled(cron = "0/1 * * * * ? ")
    public void hello(){
        System.out.println("hello！！！");
    }
}
